#ifndef _RTC_TIME_H_
#define _RTC_TIME_H_

#include "fm33lg0xx_fl.h"
#include "time.h"


extern struct tm systemDataTime;


void rtc_set_date_time_by_string(uint8_t* data,uint8_t len);
uint64_t rtc_get_timestamps(void);
struct tm rtc_get_date_time(void);
uint8_t rtc_set_date_time(uint8_t year,uint8_t mon,uint8_t day,uint8_t hour,uint8_t min,uint8_t sec);
void rtc_report_datetime(void);
#endif

